package NGUYENNGOCMINH.OOP_EXAMPLE;

public class Students {
	private int id;
	private String name;
	private String email;
	private String phone;
	
	public  Students() {
		id = 0;
		name = "No Name";
		email = "No Email";
		phone = "xxx";
	}
	
	public Students(int id, String name, String email, String phone) {
		this.id = id;
		this.name = name;
		this.email = email;
		this.phone = phone;
	}
	
	public int getID() {
		return id;
	}
	
	public String getName() {
		return name;
	}
	
	public String getEmail() {
		return email;
	}
	
	public String getPhone() {
		return phone;
	}
	
	public void setID(int id) {
		this.id = id;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public void setEmail(String email) {
		this.email = email;
	}
	
	public void setPhone(String phone) {
		this.phone = phone;
	}
}
